package com.itheima.pojo;

import java.io.Serializable;
import java.util.Objects;

public class Address implements Serializable {
    private   Integer  id;
    private   String   name;
    private   String   phoneNumber;
    private   String   img;
    private   String  coordinate; //经纬度
    private   String  addressDetails;//详细地址
    public Address(Integer id, String name, String phoneNumber, String img, String coordinate, String addressDetails) {
        this.id = id;
        this.name = name;
        this.phoneNumber = phoneNumber;
        this.img = img;
        this.coordinate = coordinate;
        this.addressDetails = addressDetails;
    }

    public Address() {

    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getAddressDetails() {
        return addressDetails;
    }

    public void setAddressDetails(String addressDetails) {
        this.addressDetails = addressDetails;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", img='" + img + '\'' +
                ", coordinate='" + coordinate + '\'' +
                ", addressDetails='" + addressDetails + '\'' +
                '}';
    }
}
